package com.qyc.mapper;

import com.qyc.bo.AnalysisCountBO;
import com.qyc.bo.AnalysisCountDiseaseBO;
import com.qyc.bo.AnalysisCountSalesBO;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
 * @className: AnalysisMapper
 * @Description: 首页大屏Mapper层接口
 * @author: qinyc
 * @date: 2023/6/22 18:05
 * @version: v1.0
 */
public interface AnalysisMapper {

    /**
     * @Author qinyc
     * @Description  统计栏舍，栏圈，动物数量，冷库数量，员工数量信息
     * @version: v1.0
     * @Date 23:41 2023/6/22
     **/
    List<AnalysisCountBO> count();

    /**
     * @Author qinyc
     * @Description  统计栏舍，栏圈，动物数量，冷库数量，员工数量信息
     * @version: v1.0
     * @Date 23:41 2023/6/22
     **/
    List<Integer> countUseMap();

    /**
     * @Author qinyc
     * @Description  统计动物体重信息
     * @version: v1.0
     * @Date 0:42 2023/6/23
     **/
    List<Integer> indexCount();

    /**
     * @Author qinyc
     * @Description  统计动物病症数量
     * @version: v1.0
     * @Date 10:52 2023/6/23
     **/
    List<AnalysisCountDiseaseBO> countDisease();

    /**
     * @Author qinyc
     * @Description  统计本年度12个月销售动物
     * @version: v1.0
     * @Date 11:41 2023/6/23
     **/
    List<AnalysisCountSalesBO> countSales();
}
